package org.jeecg.modules.solitaire_app.app.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 套餐
 * @Author: jeecg-boot
 * @Date:   2023-08-29
 * @Version: V1.0
 */
@Data
@TableName("ysy_meal")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ysy_meal对象", description="套餐")
public class YsyMeal {
    
	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
	private String id;
	/**套餐名称*/
	@Excel(name = "套餐名称", width = 15)
    @ApiModelProperty(value = "套餐名称")
	private String name;
	/**套餐价格*/
	@Excel(name = "套餐价格", width = 15)
    @ApiModelProperty(value = "套餐价格")
	private java.math.BigDecimal price;
	/**套餐描述*/
	@Excel(name = "套餐描述", width = 15)
    @ApiModelProperty(value = "套餐描述")
	private String content;
	/**折扣描述*/
	@Excel(name = "折扣描述", width = 15)
    @ApiModelProperty(value = "折扣描述")
	private String discountDesc;
	/**套餐原价*/
	@Excel(name = "套餐原价", width = 15)
    @ApiModelProperty(value = "套餐原价")
	private java.math.BigDecimal oriPrice;
	/**createTime*/
	@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createTime")
	private Date createTime;
	/**updateTime*/
	@Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "updateTime")
	private Date updateTime;
	/**类型:1-封车服务次数，2-车辆轨迹服务次数*/
	@Excel(name = "类型:1-封车服务次数，2-车辆轨迹服务次数", width = 15)
    @ApiModelProperty(value = "类型:1-封车服务次数，2-车辆轨迹服务次数")
	private Integer type;

	@Excel(name = "可用次数", width = 15)
	@ApiModelProperty(value = "可用次数")
	private Integer countNum;
	/**员工价*/
	@Excel(name = "员工价", width = 15)
	@ApiModelProperty(value = "员工价")
	private BigDecimal employPrice;
}
